package com.i2works.smartluolong.manageapi.controller.index;

import com.i2works.smartluolong.manageapi.utils.BaseModule;
import com.i2works.smartluolong.utils.entity.R;
import com.i2works.smartluolong.utils.entity.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/5/14 17:16
 */

@RestController
@RequestMapping("/")
public class IndexController extends BaseModule {

    @GetMapping(value = {"/", "/index"})
    public Result getIndex() {
        return R.success();
    }


}
